package demo;

public class TestTable {
    public static void main(String[] args) {
        Class<Student> stuClass = Student.class;
        Table ta = stuClass.getAnnotation(Table.class);
        String tablename = "";
        if (ta != null){
            tablename = ta.value();
            System.out.println("tablename = " + tablename);
        }


    }
}
